import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

//修改根节点字体大小（可以使用手动监听屏幕宽度辩护，改变根节点字体大小或媒体查询替换此框架）
import 'lib-flexible';




//初始化样式放在其他样式之前
import './commin/style/base.scss';

//导入QQ SDK
import { QC } from '@/libs/qc_jssdk.js'

import {
    Tabbar,
    TabbarItem,
    Icon,
    Swipe,
    SwipeItem,
    Card,
    GoodsAction,
    GoodsActionIcon,
    GoodsActionButton,
    Toast,
    Sku,
    SwipeCell,
    Checkbox,
    Divider,
    Dialog,
    Button,
    Stepper,
    SubmitBar,
    CheckboxGroup,
    Field,
    List,
    PullRefresh,
    Popup
} from 'vant';
Vue.use(Tabbar).use(TabbarItem).use(Icon).use(Swipe).use(SwipeItem).use(Card).use(GoodsAction).use(GoodsActionIcon).use(GoodsActionButton).use(Sku).use(SwipeCell).use(Checkbox).use(Divider).use(Button).use(Stepper).use(SubmitBar).use(CheckboxGroup).use(Field).use(List).use(PullRefresh).use(Popup);


Vue.config.productionTip = false;


//全局挂载
Vue.prototype.$toast = Toast;
Vue.prototype.$dialog = Dialog;
Vue.prototype.$QQ = QC





new Vue({
    router,
    store,
    render: (h) => h(App),
}).$mount("#app");